
body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma,"Lucida Grande",Verdana,"Microsoft Yahei",STXihei,hei;
    color: #000;
    background: rgb(242, 242, 242);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
    
.search_index{
    position: fixed;
    top: 0;
    max-width: 540px;
    min-width: 320px;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    height: 44px;
    background-color:rgb(242, 242, 242);
    >.search{
        flex: 1;
        >.search_content{
           border-radius: 5px;
           height: 24px;
           line-height: 24px;
           border: 1px white solid;
           padding-left: 24px;
           margin: 10px 10px;
           color: #ccc;
           position: relative;
            &::before{
                 display: block;
                 content: "";
                 position: absolute;
                 left:6px;
                 top:6px;
                 width: 14px;
                 height: 14px;
                 background: url(../images/sprite.png) -59px -280px no-repeat;
                 background-size:104px auto;
           }
        }
    }
    >.search_right{
       
        &::before{
            display: block;
            content: "";
            margin: 4px auto 0px;
            width: 24px;
            height: 24px;
            background: url(../images/sprite.png) -59px -194px no-repeat;
            background-size: 104px auto;
            display: flex;
        }
        text-align: center;
        width: 44px;
        line-height: 12px;
        font-size: 12px;
        color: #55bae5;
    }
}


.focus{
    width: 100%;
    margin-top: 44px;
    >img{
        width: 100%;
    }
}
a{
    text-decoration: none;
    color: black;
}

.local_nav{
    width: 100%;
    height: 65px;
    border-radius: 5px;
    display: flex;
    margin-top: 2px;
    padding-top: 5px;
    >a{
        flex: 1;
        display: flex;
        flex-direction:column;
        align-items: center;
        >.nav_bg{
            display: block;
            width:32px;
            height:32px;
           
        }
    }
    >a:nth-child(1)>.nav_bg{
        
        background: url(../images/localnav_bg.png) 0 0 no-repeat;
        background-size:32px auto;
    }
    >a:nth-child(2)>.nav_bg{
        background: url(../images/localnav_bg.png) 0 -32px no-repeat;
        background-size:32px auto;
    }
    >a:nth-child(3)>.nav_bg{
        background: url(../images/localnav_bg.png) 0 -64px no-repeat;
        background-size:32px auto;
    }
    >a:nth-child(4)>.nav_bg{
        background: url(../images/localnav_bg.png) 0 -96px no-repeat;
        background-size:32px auto;
    }
    >a:nth-child(5)>.nav_bg{
        background: url(../images/localnav_bg.png) 0 -128px no-repeat;
        background-size:32px auto;
    }
}

.main_nav{
    font-size: 16px;
    color: white;
    width: 100%;
    height: 300px;
    background-color: white;
    border-radius: 5px;
    display: flex;
    border-radius: 5px;
    flex-direction: column;
    text-align: center;
    >.main_nav_content{
        border-radius: 5px;
        line-height: 28px;
        display: flex;
        flex: 1;
        width: 100%;        
        background:linear-gradient(to right,#fa5e59,#fa9d56);
        >div{
            display: flex;
            flex-direction: column;
            flex: 1;
            >a{
                flex: 1;
                color: white;
                width: 100%;
            }
            >a:first-child{
                border-bottom: solid 1px white;
            }
        }
        >div:first-child{
            background: url(../images/hotel.png) center bottom no-repeat;
            background-size: auto 54px;
        }
        >div:nth-child(n-2){
            border-right: solid 1px white;
        }
    }
    >.main_nav_content:nth-child(2){
        margin-top: 2px;
        border-top: solid 2px white;
        background:linear-gradient(to right,#4b91ed,#4db9ed);
    }
    >.main_nav_content:nth-child(3){
        margin-top: 2px;
        border-top: solid 2px white;
        background:linear-gradient(to right,#3fc5ac,#68d455);
    }
}

.subnav_entry{
    border-radius: 5px;
    background-color: white;
    height: 160px;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    >li{
        display: block;
        text-align: center;
        flex: 20%;
        >a{
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding-top: 8px;
            >.subnav_icon{
                height: 28px;
                width: 28px;
                background: url(../images/subnav-bg.png) no-repeat;
                background-size: 28px auto;
            }
        }
    }
}
.sales_box{
    margin-bottom: 50px;
    >.sales_hd{
        width: 100%;
        height:64px;
        background-color: white;
        border-radius: 5px;
        margin: 2px 0;
        display: flex;
        justify-content:space-between;
        align-items: center;
        >span:first-child{
            width: 79px;
            height: 15px;
            background: url(../images/hot.png) 0 -19px no-repeat;
            background-size:79px auto;
            margin-left:5px;
        }
        >span:last-child{
            color: white;
            background: linear-gradient(to right,#fa5e59,#fa9d56);
            font-size: 16px;
            width: 130px;
            height: 28px;
            margin-right:5px;
            border-radius: 14px;
            padding-left: 14px;
            line-height: 28px;
            position: relative;
            &::after{
                position: absolute;
                top: 9px;
                right: 14px;
                transform: rotate(45deg);
                content: "";
                width: 9px;
                height: 9px;
                border-top: 2px solid white;
                border-right: 2px solid white;
            }
        }
    }
}
.sales_hot{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    >div{
        flex: 50%;
        width: 50%;
        >img{
            width: 100%;
        }
    }
}
.footer_nav{
    max-width: 540px;
    min-width: 320px;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    display: flex;
    box-sizing: border-box;
    >div{
        background-color: rgb(242, 242, 242);
        flex: 25%;
        display: flex;
        flex-direction: column;
        align-items: center;
        >span:first-child{
            display: block;
            width: 48px;
            height: 48px;
        }
    }
    >div:nth-child(1)>span:first-child{
        background: url(../images/tabbar.png) 0 -9px no-repeat;
        background-size: 48px auto;
    }
    >div:nth-child(2)>span:first-child{
        background: url(../images/tabbar.png) 0 -57px no-repeat;
        background-size: 48px auto;
    }
    >div:nth-child(3)>span:first-child{
        background: url(../images/tabbar.png) 0 -105px no-repeat;
        background-size: 48px auto;
    }
    >div:nth-child(4)>span:first-child{
        background: url(../images/tabbar.png) 0 -153px no-repeat;
        background-size: 48px auto;
    }
}